package com.ztgf.pay.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.ztgf.common.dto.BaseDTO;

/**
 * 用户银行卡表DTO
 *
 * @author mxli
 * @Date 2020-07-30 12:14:44
 */
@Data
@TableName("pay_user_bankcard")
@ApiModel(value="用户银行卡表对象", description="用户银行卡表对象")
public class PayUserBankcardDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "银行代码")
    private String bankId;
    @ApiModelProperty(value = "银行名称")
    private String bankName;
    @ApiModelProperty(value = "开户行")
    private String accountBank;
    @ApiModelProperty(value = "开户名称")
    private String accountName;
    @ApiModelProperty(value = "卡号")
    private String bankCard;
    @ApiModelProperty(value = "电话号码")
    private String mobile;
    @ApiModelProperty(value = "证件类型")
    private String credentialsType;
    @ApiModelProperty(value = "证件号码 A身份证、B户口簿、C军官证、D警官证、E护照、F港澳通行证、G社会统一信用代码、H营业执照、I文职干部证、J士兵证、K台湾通行证、L其他")
    private String credentialsNo;
    @ApiModelProperty(value = "状态 0创建、1开卡中、2成功、3、失败")
    private Integer status;
    @ApiModelProperty(value = "是否默认 0不默认、1默认")
    private Integer isDefault;
}